class Tool:
    count = 0

    @classmethod
    def show_tool_count(cls):
        return cls.count

    def __init__(self, name):
        self.name = name
        Tool.count += 1

    @staticmethod
    def static_method():
        print("静态方法执行")
        pass


Tool("x")
Tool("y")
Tool("z")

print("地址值为 %x" % id(Tool.static_method()))
print(Tool.show_tool_count())
